home *** CD-ROM | disk | FTP | other *** search
/ Command Post 6 / Command Post 6.iso / towers / memory.bat < prev    next >
DOS Batch File  |  1995-09-18  |  643b  |  37 lines

  1. @echo off
  2. cls
  3.  
  4. :begin
  5. if exist c:\dos\more.com goto memory
  6. if not exist c:\windows\command\more.com goto memor1
  7. goto memchk
  8.  
  9. :memory
  10. if exist c:\dos\mem.exe goto memchk
  11. if exist c:\windows\command\mem.exe goto memchk
  12. goto sorry
  13.  
  14. :memchk
  15. mem /C |more
  16. pause
  17. goto end
  18.  
  19. :memor1
  20. mem /c
  21. pause
  22. goto end
  23.  
  24. :sorry
  25. echo.
  26. echo.
  27. echo     Sorry, but we can't find the neccessary memory checking program
  28. echo     that normally ships with Microsoft DOS or MS Windows products.
  29. echo.
  30. echo     Please consult your DOS manual or a "smart friend" if you can't 
  31. echo     figure this problem out.
  32. echo.
  33. echo.
  34. pause
  35. goto end
  36.  
  37. :end